package com.zut.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: Mr.Liu
 * @create: 2021-11-13 10:48
 */
@ToString
@EqualsAndHashCode
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Link implements Serializable {

    @ExcelProperty(value = "链接对应的ID",index = 0)
    private String id;

    @ExcelProperty(value ="长链接的内容",index = 1)
    private String data;

    @ExcelProperty(value ="被访问数量",index = 2)
    private Integer num;

    @ExcelProperty(value ="创建时间",index = 3)
    private String gmtCreate;

    @ExcelProperty(value ="最后一次修改的时间",index = 4)
    private String gmtModified;

    @ExcelProperty(value ="对应用户的ID",index = 5)
    private Integer uuid;

    @ExcelProperty(value ="是否被删除",index = 6)
    @TableField//逻辑删除
    private Integer deleted;
}
